<?php

class module_u_checkout_shipping extends a_base_module
implements i_hook_pre_controller,
           i_hook_post_controller,
           i_hook_post_controller_constructor,
           i_hook_post_system,
           i_hook_base_controller_constructor{

    const SESS_SHIPPING_CARRIERS = 'sess_shipping_carriers';
    const EVENT_CHECKOUT_SHIPPING_EXECUTED = "evt_checkout_ship_exe";
    public function __construct($basic_info){
        parent::__construct($basic_info);
    }

    public function exe_pre_controller(){
        foreach (glob(APPPATH."modules/checkout_shipping/models/*.php") as $filename){
            include_once  $filename;
        }
        foreach (glob(APPPATH."modules/checkout_shipping/models/drivers/*.php") as $filename){
            include_once  $filename;
        }
        foreach (glob(APPPATH."modules/checkout_shipping/libraries/*.php") as $filename){
            include_once  $filename;
        }
    }

    public function exe_post_controller(){
       // trace();
    }

    public function exe_post_controller_constructor(){
       // trace();
    }

    public function exe_post_system(){
       // trace();
    }

    public function exe_base_controller_constructor(){

    }

//    public static function exe_pre_system(){
//        echo "ok";
//    }

}
?>